using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.Register.role
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string Role_ID= strid;
					ShowInfo(Role_ID);
				}
			}
		}
		
	private void ShowInfo(string Role_ID)
	{
		Maticsoft.BLL.Register.role bll=new Maticsoft.BLL.Register.role();
		Maticsoft.Model.Register.role model=bll.GetModel(Role_ID);
		this.lblRole_ID.Text=model.Role_ID;
		this.lblRole_Name.Text=model.Role_Name;
		this.lblRole_Describe.Text=model.Role_Describe;
		this.lblRole_Degree.Text=model.Role_Degree;
		this.lblRole_AddTime.Text=model.Role_AddTime.ToString();
		this.lblRole_Recoder.Text=model.Role_Recoder;
		this.lblRole_LastAmendTime.Text=model.Role_LastAmendTime.ToString();
		this.lblRole_LastAmendPerson.Text=model.Role_LastAmendPerson;

	}


    }
}
